<?php
$date = new CDateFormatter('en');
foreach($posts as $post) {
	echo '<h1>';
	echo CHtml::link($post->title,array('/blog/index/showpost','id' => $post->id),array('rel' => 'bookmark','title' => $post->title));
	echo '</h1>';
	echo $post->getIntro();
	echo CHtml::link('Read more &raquo;',array('/blog/index/showpost','id' => $post->id),array('rel' => 'bookmark','title' => $post->title));
	echo ' on <i>',$date->formatDateTime($post->create_time),'</i>';
}
